package com.xy.model.po.mainData;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "t_vendor")
public class VendorPO {

    @TableId(type = IdType.AUTO)
    private Long id;

    //供应商名称
    private String name;

    //供应商编码
    private String code;

    //公司名称
    private String companyName;

    //地址
    private String address;

    //类型：1_公司，2_个人
    private Integer type;

    //手机号
    private String phoneNum;

    // 帐期
    private Integer paymentTerm;

    private Long createBy;
    private Long updateBy;
    private Date createTime;
    private Date updateTime;
    private Integer isDeleted;
}
